agents.anac.y2011.TheNegotiator
Class BidGenerator

java.lang.Object
  extended by agents.anac.y2011.TheNegotiator.BidGenerator

public class BidGenerator
extends java.lang.Object

The BidsGenerator class is used to generate a offer.

Author:
Alex Dirkzwager, Mark Hendrikx, Julian de Ruiter

Constructor Summary
BidGenerator(Agent agent, BidsCollection bidsCollection)
          Creates a BidGenerator-object which determines which offer should be made.
 
Method Summary
 Action determineOffer(AgentID agentID, int phase, double threshold)
          Determine what (counter)offer should be made in a given phase with a minimum threshold.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BidGenerator

public BidGenerator(Agent agent,
                    BidsCollection bidsCollection)
Creates a BidGenerator-object which determines which offer should be made.

Parameters:
partner - agent
bidsCollection - of all possible bids and the partner bids
Method Detail

determineOffer

public Action determineOffer(AgentID agentID,
                             int phase,
                             double threshold)
Determine what (counter)offer should be made in a given phase with a minimum threshold.

Parameters:
agentID - of our agent
phase - of the negotation
minimum - threshold
Returns:
(counter)offer